home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
comm
/
irc
/
KuangEleven3Gm.lha
/
Kuang Eleven 3
/
Rexx
/
Shutdown.amirx
< prev
next >
Wrap
Text File
|
1998-05-19
|
720b
|
29 lines
/*$VER: Shutdown.amirx 3.1 (19.5.98) Kuang Eleven v3 Shutdown for AmIRC 1.22+
*/
port=address()
address REXX
if ~show('L','rexxsupport.library') then addlib('rexxsupport.library',0,-30,0)
do until ~show('P',port)
call delay(25)
end
if pos('AMIRC',show('P'))~==0 then exit
putlst=getclip('sc_copyscripts')
delist=''
if putlst~='' then do until putlst=''
parse var putlst scr putlst
delist=delist 'T:'scr
end
address command 'delete T:#?.XDC T:Kuang11.amirx'delist 'FORCE QUIET'
x=show('C')
do i=1 to words(x)
y=word(x,i)
z=substr(y,1,3)
if z='sc_'|z='st_' then call setclip(y)
end
if show('P','KUANGPORT') then address KUANGPORT 'endprog()'
if show('P','KUANG') then address KUANGPORT 'quit'
call KuangLibExit()